package com.stlm2.dems.card.service;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import javax.annotation.Resource;

import com.stlm2.dems.card.entity.Bank;
import com.stlm2.dems.card.dao.BankDao;
import com.stlm2.core.base.BaseDao;
import com.stlm2.core.base.impl.BaseServiceImpl;

@Service("bankService")
@Transactional(rollbackForClassName={"java.lang.Exception"}, propagation = Propagation.REQUIRED)
public class BankService extends BaseServiceImpl<Bank> {

	@Resource
	private BankDao bankDao;

	@Override
	protected BaseDao <Bank> getDao() {
		return bankDao;
	}
}